package org.dromara.system.service.impl;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.dromara.system.domain.vo.*;
import org.dromara.system.mapper.DashboardMapper;
import org.dromara.system.service.IDashboardService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 人才认定条件配置Service业务层处理
 *
 * @author 毛宁川
 * @date 2025-07-22
 */
@Slf4j
@RequiredArgsConstructor
@Service
public class DashboardServiceImpl implements IDashboardService {

    private final DashboardMapper dashboardMapper;

    @Override
    public List<ServiceItemStatisticsVo> serviceItemStatistics() {
        return dashboardMapper.serviceItemStatistics();
    }

    @Override
    public Long getNewFengjieCount() {
        return dashboardMapper.getNewFengjieCount();
    }

    @Override
    public List<NewFengjieByLevelVo> newFengjieByLevel() {
        return dashboardMapper.getNewFengjieByLevel();
    }

    @Override
    public List<NewFengjieByDegreeVo> newFengjieByDegree() {
        return dashboardMapper.getNewFengjieByDegree();
    }

    @Override
    public List<NewFengjieByProfessionalSkillVO> newFengjieByProfessionalSkill() {
        return dashboardMapper.getNewFengjieByProfessionalSkill();
    }

    @Override
    public List<NewFengjieBySkillTalentVo> newFengjieBySkillTalent() {
        return dashboardMapper.getNewFengjieBySkillTalent();
    }

    @Override
    public NewFengjieByYearVo newFengjieByYear() {
        return dashboardMapper.getNewFengjieByYear();
    }

    @Override
    public List<NewFengjieByXiangzhenVo> newFengjieByXiangzhen() {
        return dashboardMapper.getNewFengjieByXiangzhen();
    }

    @Override
    public List<NewFengjieByIndustryCategoryVo> newFengjieByIndustryCategory() {
        return dashboardMapper.getNewFengjieByIndustryCategory();
    }


}
